]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Revert "networkAgent: Adjust to introspection change"
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 21 Jul 2017 14:34:50 +0000 (15:34 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 21 Jul 2017 14:34:50 +0000 (15:34 +0100)
This reverts commit 4181035981720ea0be863846f2524b767a46d22c.

The commit that caused this change was reverted in GLib.

js/ui/components/networkAgent.js

index 3b369ec6981a3a04d5d25e0c142bb123dec716ec..fd59c11cafb5fb4fe5325c8dfd441dc1dde4b1ef 100644 (file)
@@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({
                                 message: keyfile.get_string(VPN_UI_GROUP, 'Description'),
                                 secrets: [] };
 
-            let groups = keyfile.get_groups();
+            let [groups, len] = keyfile.get_groups();
             for (let i = 0; i < groups.length; i++) {
                 if (groups[i] == VPN_UI_GROUP)
                     continue;